package cn.bellychang.command.demo03;

/**
 * @author ChangLiang
 * @date 2020/4/26
 */
//抽象命令
abstract class Command {

    protected Barbecuer receiver;

    public Command() {
    }

    public Command(Barbecuer receiver) {
        this.receiver = receiver;
    }

    abstract void executeCommand();

    abstract CancelResult cancelCommand();
}
